package com.ruoyi.contract.mapper;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.contract.domain.IceConf;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;

/**
* @author 姚煜峰
* @description 针对表【ice_conf】的数据库操作Mapper
* @createDate 2023-07-10 11:33:13
* @Entity com.ruoyi.contract.domain.IceConf
*/
public interface IceConfMapper extends BaseMapper<IceConf> {

    @DataSource(DataSourceType.ICE)
    @Override
    IceConf selectById(Serializable id);

    @DataSource(DataSourceType.ICE)
    @Override
    int insert(IceConf entity);

    @DataSource(DataSourceType.ICE)
    @Select("select max(id) from ice_conf")
    long selectMaxId();
        
}




